TFlyout

This VCL gives you a flyout button similar to those found in
image edition programs like Corel Draw or PhotoShop.  A set of
flyout buttons acts similar to a two-dimentional array of radio
buttons.  Like radio buttons, only one flyout button within a 
group may be selected, however, when a flyout button is clicked,
it expands to offer you more choices.


PROPERTIES

ArrowColor:   To show that the button offers more choices, the 
              flyout button draws an arrow in the lower right-
              hand corner.  This property allows you to select
              what color this arrow is drawn in.  Note that if
              NumGlyphs is set to 1 then the arrow won't be 
              visible.


AutoFlyout:   This property tells the flyout button to display
              its flyout every time the button is clicked,
              regardless of whether the value of that button
              is being changed or not.  This is useful for novice
              users who might be unaware of how a flyout button 
              works.  By default, this property is set to false,
              and the user must click on a flyout button a second
              time to display the flyout.

Checked:      Similar to a radio button or checkbox, this property
              tells whether or not a given button is selected.

Glyphs:       This is the bitmap that is used to create the flyout 
              buttons.  This is similar to the glyph property of a 
              Speedbutton in that multiple images (one for each 
              button on the flyout) are placed on a single bitmap.  
              Each image must be the same size.  The flyout button 
              will divide the bitmap evenly by the number in the 
              NumGlyphs property to create the flyout buttons.  Use 
              the included sample glyphs as a template.

Index:        This is a zero-based number that tells which flyout
              button is currently selected.

NumGlyphs:    This is the number of images that are on the current
              Glyph, and also the number of buttons that are on the 
              flyout.  The flyout button will try to guess this 
              number when you load a new glyph, based upon dividing
              the width by the height, so if your images are square,
              you don't need to set this property.


USING TFLYOUT

You use the flyout button like a radio button, except that it has an
extra index property.  For example:

   If Flyout1.checked then
      case flyout1.index of
      0: {do something};
      1: {do something else};
      end
   else if Flyout2.checked then
      {... repeat as necessary}
   end;

or you might code in the OnClick event handler like this:

procedure TForm1.Flyout1Click(Sender: TObject);
begin
   case flyout1.index of
   0: {do something};
   1: {do something else};
   end;
end;


Installing TFlyout

To install this VCL, copy FLYFORM.DCU, FLYFORM.DFM, FLYOUT.DCU and 
FLYOUT.DCR to the directory where you have your other shareware 
controls.  Then, from Delphi's main menu, select Options|Install Components.  
In the dialog, click on the Add... button, then Browse... and change to the 
drive/directory where you stored the above two files.  Select 
FLYOUT.DCU and click OK, then OK again.

Support:

Send comments and questions to:

Zane Rathwick
Indigo Software

CIS: 74633,1314
AOL: ZaneR
Internet:   ZaneR@aol.com
U.S. Mail:  Zane Rathwick
            Indigo Software
            4240 Park Newport Suite 308
            Newport Beach, CA 92660

Registering TDigMarquee

To register TFlyout and receive source code, send $10 (+$2 S&H) to:

Indigo Software
4240 Park Newport #308
Newport Beach, CA 92660

You can save the $2 shipping fee by specifying an internet 
account to have your control sent to instead of by mail.

Compuserve members may order on-line for $10.00 and have the code
delivered to your e-mail box by using GO SWREG and ordering 
product #10955